package org.xml.xpath4js.client;

/* 
xpath4js is a GWT implementation of XPath 2.0 
Copyright (C) 2010  Peter Schonefeld (peter dot schonefeld at gmail)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


public class XSDType {

	public String Namespace = "";
	public String LocalName = "";
	public String Definition = "";
	
	public XSDType(){
		this.Namespace = "";
		this.LocalName = "";
		this.Definition = "";		
	}

	public XSDType(String ns, String name){
		this.Namespace = ns;
		this.LocalName = name;
		this.Definition = "";		
		
	}	
	
	public boolean equals(XSDType other){
		return ((Namespace == other.Namespace) && 
				(LocalName == other.LocalName))?true:false;		
	}
	
	
}
